﻿using System;
using SqlSugar;

namespace NP.BPMReportPlatform.Entities.BPM_Business
{
    /// <summary>
    /// 一般补贴
    /// 推送SAP
    /// </summary>
    public class FrameOrderUsualAllowance
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public Guid ID { get; set; }

        /// <summary>
        /// 流程类型
        /// </summary>
        public string allowance_type { get; set; }

        /// <summary>
        /// 所属部门
        /// </summary>
        public string department { get; set; }

        /// <summary>
        /// 员工编号
        /// </summary>
        public string employeeId { get; set; }

        /// <summary>
        /// 姓名
        /// </summary>
        public string employeeName { get; set; }

        /// <summary>
        /// 每月补贴
        /// </summary>
        public decimal? allowance_lines { get; set; }

        /// <summary>
        /// 年
        /// </summary>
        public string year { get; set; }

        /// <summary>
        /// 月
        /// </summary>
        public string month { get; set; }

        /// <summary>
        /// 日
        /// </summary>
        public string day { get; set; }

        /// <summary>
        /// 是否高管流程
        /// </summary>
        public bool? isgaoguan { get; set; }

        /// <summary>
        /// 开始日期
        /// </summary>
        public DateTime? StartDate { get; set; }

        /// <summary>
        /// 结束日期
        /// </summary>
        public DateTime? EndDate { get; set; }

        /// <summary>
        /// 探亲次数（年探亲交通补贴（次数））月
        /// </summary>
        public string YearVisitFamilyCount { get; set; }

        /// <summary>
        /// 一次性安家费（年探亲交通补贴（金额））
        /// </summary>
        public decimal? YearVisitFamilyMoney { get; set; }
        /// <summary>
        /// 流程类型-交通费用补贴
        /// </summary>
        public string allowance_type2 { get; set; }

        /// <summary>
        /// 每月补贴-交通费用补贴金额
        /// </summary>
        public decimal? allowance_lines2 { get; set; }


        public string InstanceNumber { get; set; }
        /// <summary>
        /// 制单日期
        /// </summary>
        public string ProcessStartTime { get; set; }
        /// <summary>
        /// 审批通过日期
        /// </summary>
        public string ApproveDate { get; set; }
        /// <summary>
        /// 流程状态
        /// </summary>
        public string InstanceType { get; set; }
        /// <summary>
        /// hrbp审批人
        /// </summary>
        public string HRBPApprove { get; set; }
        /// <summary>
        /// 推送日期
        /// </summary>
        public DateTime? PushTime { get; set; }
        /// <summary>
        /// 推送状态（未推送：0已推送：1推送失败：2）
        /// </summary>
        public string BusinessType { get; set; }
        /// <summary>
        /// 推送失败说明
        /// </summary>
        public string Remarks { get; set; }
    }
}
